package com.filldream.fastboot.base.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.filldream.fastboot.common.entity.db.StockLast;
import com.filldream.fastboot.common.entity.db.StockOrder;
import org.apache.ibatis.annotations.Select;

import java.math.BigDecimal;
import java.util.List;

public interface StockLastMapper extends BaseMapper<StockLast> {

    StockLast getWaitLastList();

    List<StockOrder> getFilterStockList();

    @Select("SELECT money FROM `simulate_account` limit 1")
    BigDecimal getMoney();
}
